home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
squota-0.02
/
Squota.tar
/
Squota
/
Squotack
< prev
next >
Wrap
Text File
|
1996-05-13
|
255b
|
13 lines
#!/bin/bash
. /var/adm/Squota/quotavars
if test $UID = 0
then
if test "$1" = "-u"
then
cat $HQ/quota.daily.$MON | grep $DAY | grep $2 |cut -d" " -f2-
exit 2
fi
else
cat $HQ/quota.daily.$MON | grep $DAY | grep $UID |cut -d" " -f2-
fi